package com.xinou.daily_report.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.config.jackson.annotation.XoFileSerializerAnnotation;
import com.xinou.sso.dto.DeptDTO;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author lcc
 * @create 2021-08-18
 * @本代码仅限xinou内部传阅
 */
@Data
@Accessors(chain = true)
public class DailyUserListVO {
    @ApiModelProperty(value = "用户id", example = "1")
    private Long userId;

    @ApiModelProperty(value = "真实姓名", example = "lzy")
    private String realName;

    @ApiModelProperty(value = "部门", example = "{}")
    private DeptDTO dept;

    @ApiModelProperty(value = "头像", example = "")
    @XoFileSerializerAnnotation(shape = JsonFormat.Shape.STRING)
    private String icon;

    @ApiModelProperty(value = "是否已读", example = "true")
    private Boolean isRead;

    @ApiModelProperty(value = "是否提交今日日报", example = "true")
    private Boolean isSubmit;
}
